// 引入vant
import { Button,Col, Row,Icon,Search,Swipe,SwipeItem,Grid, GridItem,Tabbar, TabbarItem,Tab, Tabs,Sidebar,SidebarItem, ActionBar, ActionBarIcon, ActionBarButton,SubmitBar,Checkbox, CheckboxGroup,Stepper,Dialog,NavBar,RollingText,Form, Field, CellGroup,Notify, Toast, Collapse, CollapseItem } from 'vant';
import 'vant/lib/index.css';

//引入mock
import './mock/mockServer'


import { createApp } from 'vue'
import { createPinia } from 'pinia'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'

import App from './App.vue'
import router from './router'

const app = createApp(App)

app.use(createPinia())
app.use(router)
app.use(ElementPlus)
app.use(Button).use(Col).use(Row).use(Icon).use(Search).use(Swipe).use(SwipeItem).use(Grid).use(GridItem).use(Tabbar).use(TabbarItem).use(Tab).use(Tabs).use(Sidebar).use(SidebarItem).use(ActionBar).use(ActionBarIcon).use(ActionBarButton).use(SubmitBar).use(Checkbox).use(CheckboxGroup).use(Stepper).use(Dialog).use(NavBar).use(RollingText).use(Form).use(Field).use(CellGroup).use(Notify).use(Toast).use(Collapse).use(CollapseItem)
app.mount('#app')
